package com.nanychuan.blogbase.exception;

/**
 * @author 往
 * 自定义异常
 */
public class BlogException extends RuntimeException {
    private BlogEnums blogEnums;

    public BlogException(BlogEnums blogEnums) {
        super(blogEnums.getMessage());
        this.blogEnums = blogEnums;

    }
}
